/* 
* Class name: ToolBarUndoButton *
* 
* Version info: v4.0 *
* 
* Description:The toolbar UNDO button is constructed here.
* 
* Copyright by Group4 from CmpE450 course *
*/ 

package com.GameSpace.SameGame;

import android.content.Context;
import android.util.AttributeSet;

import com.GameSpace.SameGame.R;
import com.GameSpace.CoreAssets.ToolbarImageItem;

public class ToolBarUndoButton extends ToolbarImageItem {

	Context myContext;
	public static boolean isClickable = true;
	
	//default constructor
	public ToolBarUndoButton( Context context ){
		super(context);
		super.setBackground(R.drawable.undo1);
		super.setClickable(true);
		this.myContext = context;
	}
	
	//constructor
	public ToolBarUndoButton( Context context, AttributeSet attrs, int params){
		super(context, attrs, params); 
		super.setBackground(R.drawable.undo1);
		super.setClickable(true);
		this.myContext = context;
	}
}
